#pragma once
#include "election.h"
class StateElection :
	public Election
{		
	string state_;
public:
	StateElection(string name, vector<string> candidates, string state ) : Election(name, candidates) { state_ = state; };
	~StateElection(void);
	friend class ElectionFactory;
	virtual string GetLevel() { return "state"; };
	virtual bool CanVote(string state, string local) { return (state_ == state) ; } ;
	virtual bool IsDirect() { return true; } ;	
};

